﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SMS
{
    public partial class uMenu : UserControl
    {
        fLogin main;
        public uMenu(fLogin main1)
        {
            InitializeComponent();
            main = main1;
        }

        private void tsmiExit_Click(object sender, EventArgs e)
        {
            this.ParentForm.Visible = false;
            main.Visible = true;
        }

        private void txtDangxuat_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            main.Visible = true;
        }

        private void txtMaytinh_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("calc");
        }
    }
}
